template <typename T, typename F>
#pragma OPENCL EXTENSION cl_khr_fp64 : enable
__kernel void buildin_basic1d (__global T* arg1, __global T* arg2, __global T* result) {
    int index = get_global_id(0);
    result[index] = arg1[index] F arg2[index];
}
